package com.chlitina.store.modules.inventory.model;

import com.chlitina.store.modules.base.entity.StoreProduct;

public class InProduct {
	private StoreProduct product;
	private int amount;
    private boolean editing=false;	

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}
	
	public InProduct copy(){
		InProduct in=new InProduct();
		in.setAmount(getAmount());
		in.setProduct(getProduct());
		return in;
	}

	public boolean isEditing() {
		return editing;
	}

	public void setEditing(boolean editing) {
		this.editing = editing;
	}

	public StoreProduct getProduct() {
		return product;
	}

	public void setProduct(StoreProduct product) {
		this.product = product;
	}
}
